mirror of
https://boringssl.googlesource.com/boringssl
synced 2026-07-21 14:43:51 +00:00
3718975696
The one remaining external reference was in an unused parameter where it was impossible to obtain a non-null value. Remove the last of that machinery from the public API. This leaves us free to completely rework LHASH_OF(T) internally, including making it a template that understands whether it owns its values. (If we end up needing to revert it, we can still make the real LHASH_OF(T) into a template. It just won't be called LHASH_OF(T) anymore.) Update-Note: Calling code which references LHASH_OF(T) will no longer compile. We have had no public APIs that allow a caller to usefully construct an LHASH_OF(T) for some time, so this only ever came up in odd cases around bindings APIs. Change-Id: I5a44310b04d8f8f3599f0f356b64786e62db5fbf Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/78787 Reviewed-by: Adam Langley <agl@google.com> Auto-Submit: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com>
19 lines
718 B
C
19 lines
718 B
C
// Copyright 2025 The BoringSSL Authors
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// https://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
// This header is provided in order to make compiling against code that expects
|
|
// OpenSSL easier.
|
|
|
|
#include "base.h"
|