[openssl/openssl] a0ad7e: Fix incorrect ERR_raise() calls

Theo Buehler noreply at github.com
Mon Jun 12 06:31:06 UTC 2023


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: a0ad7e7f6f02cc6bd13d4139ff827eba17f71e18
      https://github.com/openssl/openssl/commit/a0ad7e7f6f02cc6bd13d4139ff827eba17f71e18
  Author: Theo Buehler <tb at openbsd.org>
  Date:   2023-06-12 (Mon, 12 Jun 2023)

  Changed paths:
    M crypto/x509/v3_purp.c

  Log Message:
  -----------
  Fix incorrect ERR_raise() calls

A few ERR_raise() calls in v3_purp.c use the wrong library. For example,
in OpenSSL 3.1.1 we get

00000000:error:0580009E:x509 certificate routines:ossl_x509v3_cache_extensions:reason(158):crypto/x509/v3_purp.c:635:

instead of

00000000:error:1100009E:X509 V3 routines:ossl_x509v3_cache_extensions:invalid certificate:crypto/x509/v3_purp.c:635:

Reviewed-by: Todd Short <todd.short at me.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21168)

(cherry picked from commit 959c150a1dcc4535c2d94ac6f3310566723911f1)




More information about the openssl-commits mailing list