]> git.ipfire.org Git - thirdparty/openssl.git/commit
Clear CRMF vs CMP confusion
authorRichard Levitte <levitte@openssl.org>
Wed, 8 May 2019 03:28:47 +0000 (05:28 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 20 May 2019 14:19:00 +0000 (16:19 +0200)
commit538f38db50e4ead178025689d28bda316b15c242
treed9c8eee9b87cdcc59409d1ed212cce46c2bd0388
parent2752c8984c3c7ff6078d00944efd1ddb74b94ba4
Clear CRMF vs CMP confusion

In the development of the CRMF sub-system, there seems to have been
some confusion as to what configuration option should be used.
'no-crmf' was added, but the C macro guards were using OPENSSL_NO_CMP
rather than OPENSSL_NO_CRMF...

In fact, we want 'no-cmp', but since the CRMF code is part of CMP, we
need 'no-crmf' to depend on 'no-cmp'.  We do this by making 'crmf' a
silent "option" that get affected by 'cmp' by way of %disable_cascades.
This allows options to be "aliases" for a set of other ones, silent or
not.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8897)
Configure
crypto/err/err_all.c
include/openssl/crmf.h
include/openssl/crmferr.h
util/libcrypto.num
util/mkerr.pl