Cosmetic touchups.

This commit is contained in:
Trevor
2013-06-24 15:59:05 -07:00
committed by Ben Laurie
parent 6d7fa9c25c
commit 355a6236be
4 changed files with 18 additions and 15 deletions

View File

@@ -1096,7 +1096,7 @@ int SSL_CTX_use_serverinfo(SSL_CTX *ctx, const unsigned char *serverinfo,
return 0;
}
ctx->cert->key->serverinfo = OPENSSL_realloc(ctx->cert->key->serverinfo,
serverinfo_length);
serverinfo_length);
if (ctx->cert->key->serverinfo == NULL)
{
SSLerr(SSL_F_SSL_CTX_USE_SERVERINFO,ERR_R_MALLOC_FAILURE);