summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/n_pkey.c
diff options
context:
space:
mode:
authorjsing <>2021-12-25 13:17:48 +0000
committerjsing <>2021-12-25 13:17:48 +0000
commit6be80228ce6e3d007c240fd309c7e08520677576 (patch)
treec2ad177e48af592ac305ef1bf2b4bbc9395b8897 /src/lib/libcrypto/asn1/n_pkey.c
parent69f80604f574c80b09c77c793ad058bbdb4ea21a (diff)
downloadopenbsd-6be80228ce6e3d007c240fd309c7e08520677576.tar.gz
openbsd-6be80228ce6e3d007c240fd309c7e08520677576.tar.bz2
openbsd-6be80228ce6e3d007c240fd309c7e08520677576.zip
Indent goto labels for diffability.
Whitespace change only.
Diffstat (limited to 'src/lib/libcrypto/asn1/n_pkey.c')
-rw-r--r--src/lib/libcrypto/asn1/n_pkey.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/n_pkey.c b/src/lib/libcrypto/asn1/n_pkey.c
index cfc00887e5..40d8fa4240 100644
--- a/src/lib/libcrypto/asn1/n_pkey.c
+++ b/src/lib/libcrypto/asn1/n_pkey.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: n_pkey.c,v 1.34 2021/12/12 21:30:13 tb Exp $ */ 1/* $OpenBSD: n_pkey.c,v 1.35 2021/12/25 13:17:48 jsing 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 *
@@ -316,7 +316,7 @@ i2d_RSA_NET(const RSA *a, unsigned char **pp,
316 goto err; 316 goto err;
317 317
318 ret = i2d_NETSCAPE_ENCRYPTED_PKEY(enckey, pp); 318 ret = i2d_NETSCAPE_ENCRYPTED_PKEY(enckey, pp);
319err: 319 err:
320 EVP_CIPHER_CTX_cleanup(&ctx); 320 EVP_CIPHER_CTX_cleanup(&ctx);
321 NETSCAPE_ENCRYPTED_PKEY_free(enckey); 321 NETSCAPE_ENCRYPTED_PKEY_free(enckey);
322 NETSCAPE_PKEY_free(pkey); 322 NETSCAPE_PKEY_free(pkey);
@@ -365,7 +365,7 @@ d2i_RSA_NET(RSA **a, const unsigned char **pp, long length,
365 365
366 *pp = p; 366 *pp = p;
367 367
368err: 368 err:
369 NETSCAPE_ENCRYPTED_PKEY_free(enckey); 369 NETSCAPE_ENCRYPTED_PKEY_free(enckey);
370 return ret; 370 return ret;
371 371
@@ -424,7 +424,7 @@ d2i_RSA_NET_2(RSA **a, ASN1_OCTET_STRING *os,
424 goto err; 424 goto err;
425 } 425 }
426 426
427err: 427 err:
428 EVP_CIPHER_CTX_cleanup(&ctx); 428 EVP_CIPHER_CTX_cleanup(&ctx);
429 NETSCAPE_PKEY_free(pkey); 429 NETSCAPE_PKEY_free(pkey);
430 return (ret); 430 return (ret);