summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2023-05-12 18:39:44 +0000
committertb <>2023-05-12 18:39:44 +0000
commit8afb34b4589570a17c03dfaf441f983410fc0663 (patch)
treed5b85ca7c3f79f9c19a5cec56e0660e8428ec61e /src/lib
parentb345c57b28722f9d99b4f658837e895ba199555b (diff)
downloadopenbsd-8afb34b4589570a17c03dfaf441f983410fc0663.tar.gz
openbsd-8afb34b4589570a17c03dfaf441f983410fc0663.tar.bz2
openbsd-8afb34b4589570a17c03dfaf441f983410fc0663.zip
x509_utl.c: fix some style nits.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/x509/x509_utl.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/libcrypto/x509/x509_utl.c b/src/lib/libcrypto/x509/x509_utl.c
index 28e9179e95..78edd67a44 100644
--- a/src/lib/libcrypto/x509/x509_utl.c
+++ b/src/lib/libcrypto/x509/x509_utl.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_utl.c,v 1.15 2023/05/12 13:56:17 tb Exp $ */ 1/* $OpenBSD: x509_utl.c,v 1.16 2023/05/12 18:39:44 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project. 3 * project.
4 */ 4 */
@@ -520,11 +520,11 @@ x509_skip_colons_cbs(CBS *cbs)
520 } 520 }
521 521
522 return 1; 522 return 1;
523
524} 523}
525 524
526static int 525static int
527x509_get_xdigit_nibble_cbs(CBS *cbs, uint8_t *out_nibble) { 526x509_get_xdigit_nibble_cbs(CBS *cbs, uint8_t *out_nibble)
527{
528 uint8_t c; 528 uint8_t c;
529 529
530 if (!CBS_get_u8(cbs, &c)) 530 if (!CBS_get_u8(cbs, &c))
@@ -545,7 +545,6 @@ x509_get_xdigit_nibble_cbs(CBS *cbs, uint8_t *out_nibble) {
545 545
546 X509V3error(X509V3_R_ILLEGAL_HEX_DIGIT); 546 X509V3error(X509V3_R_ILLEGAL_HEX_DIGIT);
547 return 0; 547 return 0;
548
549} 548}
550 549
551unsigned char * 550unsigned char *