summaryrefslogtreecommitdiff
path: root/lib/libcrypto/cms
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2019-08-11 14:19:10 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2019-08-11 14:19:10 +0000
commit83768505b533bce0e8067e6b4c8debd0ea295b7d (patch)
tree03a9f4ae2ab158e7d5db8509c71678d3dd622f87 /lib/libcrypto/cms
parentf2b76ee25d324547c353ed3d7c9cae5c7b358c00 (diff)
Remove label that is now unused (due to arc4random_buf() returning void).
Diffstat (limited to 'lib/libcrypto/cms')
-rw-r--r--lib/libcrypto/cms/cms_ess.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libcrypto/cms/cms_ess.c b/lib/libcrypto/cms/cms_ess.c
index 16b7168f5fb..9420405d8f4 100644
--- a/lib/libcrypto/cms/cms_ess.c
+++ b/lib/libcrypto/cms/cms_ess.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cms_ess.c,v 1.20 2019/08/11 11:04:18 jsing Exp $ */
+/* $OpenBSD: cms_ess.c,v 1.21 2019/08/11 14:19:09 jsing Exp $ */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
@@ -147,9 +147,8 @@ CMS_ReceiptRequest_create0(unsigned char *id, int idlen, int allorfirst,
merr:
CMSerror(ERR_R_MALLOC_FAILURE);
-
- err:
CMS_ReceiptRequest_free(rr);
+
return NULL;
}