e17e14dfe1
Everyone calls this with NULL anyway. People never actually use lh_CONF_VALUE_* functions (or any other lh_* functions for that matter). Also remove unused X509V3_EXT_CRL_add_conf prototype. This removes one of the last mentions of LHASH_OF in public headers. Update-Note: X509V3_EXT_conf_nid calls that pass a non-NULL first parameter will fail to compile. Change-Id: Ia6302ef7b494efeb9b63ab75a18bc340909dcba3 Reviewed-on: https://boringssl-review.googlesource.com/32117 Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> Reviewed-by: Adam Langley <agl@google.com>
23 lines
1.0 KiB
C
23 lines
1.0 KiB
C
/* Copyright (c) 2016, Google Inc.
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
|
* SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
|
|
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
|
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
|
|
|
|
#include <openssl/conf.h>
|
|
#include <openssl/x509v3.h>
|
|
|
|
|
|
X509_EXTENSION *X509V3_EXT_conf_nid(X509_MUST_BE_NULL *conf, X509V3_CTX *ctx,
|
|
int ext_nid, char *value) {
|
|
return X509V3_EXT_nconf_nid(NULL, ctx, ext_nid, value);
|
|
}
|