version 1.34, 2019/01/20 23:10:33 |
version 1.35, 2019/01/20 23:11:11 |
|
|
static void |
static void |
ossl_error(const char *msg) |
ossl_error(const char *msg) |
{ |
{ |
unsigned long e; |
unsigned long e; |
|
|
while ((e = ERR_get_error()) != 0) |
while ((e = ERR_get_error()) != 0) |
error("%s: %s: %.100s", __func__, msg, |
error("%s: %s: %.100s", __func__, msg, |
ERR_error_string(e, NULL)); |
ERR_error_string(e, NULL)); |
} |
} |
#endif |
#endif |
|
|
|
|
{"prime256v1", "1.2.840.10045.3.1.7", "06082A8648CE3D030107", 256}, |
{"prime256v1", "1.2.840.10045.3.1.7", "06082A8648CE3D030107", 256}, |
{"secp384r1", "1.3.132.0.34", "06052B81040022", 384}, |
{"secp384r1", "1.3.132.0.34", "06052B81040022", 384}, |
{"secp521r1", "1.3.132.0.35", "06052B81040023", 521}, |
{"secp521r1", "1.3.132.0.35", "06052B81040023", 521}, |
{NULL, NULL, NULL, 0}, |
{NULL, NULL, NULL, 0}, |
}; |
}; |
|
|
static struct sshkey * |
static struct sshkey * |