cert.c revision aa35995ef056aa8ae052a47c62c6750b7adf065e
325N/A SSSD - certificate handling utils - openssl version 325N/A Copyright (C) Sumit Bose <sbose@redhat.com> 2015 325N/A This program is free software; you can redistribute it and/or modify 325N/A it under the terms of the GNU General Public License as published by 325N/A the Free Software Foundation; either version 3 of the License, or 325N/A (at your option) any later version. 325N/A This program is distributed in the hope that it will be useful, 325N/A but WITHOUT ANY WARRANTY; without even the implied warranty of 325N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 325N/A GNU General Public License for more details. 325N/A You should have received a copy of the GNU General Public License 325N/A const unsigned char *d;
"i2d_X509 size mismatch between two calls.\n");
/* TODO: verify certificate !!!!! */ "Expected RSA public key, found unsupported [%d].\n",
+
1;
/* see comment about missing 00 below */ /* Adding missing 00 which afaik is added to make sure * the bigint is handled as positive number */ /* TODO: make a better check if 00 must be added or not, e.g. ... & 0x80)