diff options
author | David Benjamin <davidben@chromium.org> | 2015-06-29 00:28:17 -0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-07-16 02:02:37 +0000 |
commit | 3570d73bf1261340c0c3039553cb4ef690f3d8ba (patch) | |
tree | 99217ebd22f70fc77c5fa4dbef8a8f8e8da43208 /crypto/x509/a_sign.c | |
parent | 34248d4cb74eee28bb226fd1d480aef03838ac4d (diff) | |
download | boringssl-3570d73bf1261340c0c3039553cb4ef690f3d8ba.zip boringssl-3570d73bf1261340c0c3039553cb4ef690f3d8ba.tar.gz boringssl-3570d73bf1261340c0c3039553cb4ef690f3d8ba.tar.bz2 |
Remove the func parameter to OPENSSL_PUT_ERROR.
Much of this was done automatically with
find . -name '*.c' | xargs sed -E -i '' -e 's/(OPENSSL_PUT_ERROR\([a-zA-Z_0-9]+, )[a-zA-Z_0-9]+, ([a-zA-Z_0-9]+\);)/\1\2/'
find . -name '*.c' | xargs sed -E -i '' -e 's/(OPENSSL_PUT_ERROR\([a-zA-Z_0-9]+, )[a-zA-Z_0-9]+, ([a-zA-Z_0-9]+\);)/\1\2/'
BUG=468039
Change-Id: I4c75fd95dff85ab1d4a546b05e6aed1aeeb499d8
Reviewed-on: https://boringssl-review.googlesource.com/5276
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/x509/a_sign.c')
-rw-r--r-- | crypto/x509/a_sign.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509/a_sign.c b/crypto/x509/a_sign.c index f219c23..4e9be8a 100644 --- a/crypto/x509/a_sign.c +++ b/crypto/x509/a_sign.c @@ -106,7 +106,7 @@ int ASN1_item_sign_ctx(const ASN1_ITEM *it, if ((buf_in == NULL) || (buf_out == NULL)) { outl=0; - OPENSSL_PUT_ERROR(X509, ASN1_item_sign_ctx, ERR_R_MALLOC_FAILURE); + OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE); goto err; } @@ -114,7 +114,7 @@ int ASN1_item_sign_ctx(const ASN1_ITEM *it, || !EVP_DigestSignFinal(ctx, buf_out, &outl)) { outl=0; - OPENSSL_PUT_ERROR(X509, ASN1_item_sign_ctx, ERR_R_EVP_LIB); + OPENSSL_PUT_ERROR(X509, ERR_R_EVP_LIB); goto err; } if (signature->data != NULL) OPENSSL_free(signature->data); |