diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/t_x509.c')
-rw-r--r-- | src/lib/libcrypto/asn1/t_x509.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/asn1/t_x509.c b/src/lib/libcrypto/asn1/t_x509.c index 1c83fc5608..14cbabedc7 100644 --- a/src/lib/libcrypto/asn1/t_x509.c +++ b/src/lib/libcrypto/asn1/t_x509.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_x509.c,v 1.26 2015/02/07 13:19:15 doug Exp $ */ | 1 | /* $OpenBSD: t_x509.c,v 1.27 2017/01/29 17:49:22 beck Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -92,7 +92,7 @@ X509_print_ex_fp(FILE *fp, X509 *x, unsigned long nmflag, unsigned long cflag) | |||
92 | int ret; | 92 | int ret; |
93 | 93 | ||
94 | if ((b = BIO_new(BIO_s_file())) == NULL) { | 94 | if ((b = BIO_new(BIO_s_file())) == NULL) { |
95 | X509err(X509_F_X509_PRINT_EX_FP, ERR_R_BUF_LIB); | 95 | X509error(ERR_R_BUF_LIB); |
96 | return (0); | 96 | return (0); |
97 | } | 97 | } |
98 | BIO_set_fp(b, fp, BIO_NOCLOSE); | 98 | BIO_set_fp(b, fp, BIO_NOCLOSE); |
@@ -530,7 +530,7 @@ X509_NAME_print(BIO *bp, X509_NAME *name, int obase) | |||
530 | ret = 1; | 530 | ret = 1; |
531 | if (0) { | 531 | if (0) { |
532 | err: | 532 | err: |
533 | X509err(X509_F_X509_NAME_PRINT, ERR_R_BUF_LIB); | 533 | X509error(ERR_R_BUF_LIB); |
534 | } | 534 | } |
535 | free(b); | 535 | free(b); |
536 | return (ret); | 536 | return (ret); |