summaryrefslogtreecommitdiff
path: root/lib/libcrypto/asn1/x_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/asn1/x_info.c')
-rw-r--r--lib/libcrypto/asn1/x_info.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libcrypto/asn1/x_info.c b/lib/libcrypto/asn1/x_info.c
index cb5b6634a18..c1b6058d587 100644
--- a/lib/libcrypto/asn1/x_info.c
+++ b/lib/libcrypto/asn1/x_info.c
@@ -63,15 +63,15 @@
#include <openssl/x509.h>
X509_INFO *X509_INFO_new(void)
- {
+{
X509_INFO *ret=NULL;
ret=(X509_INFO *)malloc(sizeof(X509_INFO));
if (ret == NULL)
- {
+ {
ASN1err(ASN1_F_X509_INFO_NEW,ERR_R_MALLOC_FAILURE);
return(NULL);
- }
+ }
ret->enc_cipher.cipher=NULL;
ret->enc_len=0;
@@ -82,10 +82,10 @@ X509_INFO *X509_INFO_new(void)
ret->crl=NULL;
ret->x_pkey=NULL;
return(ret);
- }
+}
void X509_INFO_free(X509_INFO *x)
- {
+{
int i;
if (x == NULL) return;
@@ -98,7 +98,7 @@ void X509_INFO_free(X509_INFO *x)
if (x->x_pkey != NULL) X509_PKEY_free(x->x_pkey);
if (x->enc_data != NULL) free(x->enc_data);
free(x);
- }
+}
IMPLEMENT_STACK_OF(X509_INFO)