diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/t_x509.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/t_x509.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/t_x509.c b/src/lib/libcrypto/asn1/t_x509.c index de3fa22171..81333d67cf 100644 --- a/src/lib/libcrypto/asn1/t_x509.c +++ b/src/lib/libcrypto/asn1/t_x509.c | |||
| @@ -265,7 +265,7 @@ int X509_ocspid_print (BIO *bp, X509 *x) | |||
| 265 | if (BIO_printf(bp, " Subject OCSP hash: ") <= 0) | 265 | if (BIO_printf(bp, " Subject OCSP hash: ") <= 0) |
| 266 | goto err; | 266 | goto err; |
| 267 | derlen = i2d_X509_NAME(x->cert_info->subject, NULL); | 267 | derlen = i2d_X509_NAME(x->cert_info->subject, NULL); |
| 268 | if ((der = dertmp = (unsigned char *)malloc (derlen)) == NULL) | 268 | if ((der = dertmp = malloc(derlen)) == NULL) |
| 269 | goto err; | 269 | goto err; |
| 270 | i2d_X509_NAME(x->cert_info->subject, &dertmp); | 270 | i2d_X509_NAME(x->cert_info->subject, &dertmp); |
| 271 | 271 | ||
