diff options
| author | tb <> | 2023-10-26 08:01:38 +0000 |
|---|---|---|
| committer | tb <> | 2023-10-26 08:01:38 +0000 |
| commit | dd01b43e8ec4833e5d6d6bac95b032b7039797e5 (patch) | |
| tree | 43d55ee49aab28fcae6269ec819ad0765ba23bdb /src | |
| parent | 2ed7c6c6a013624f8a2f68bc8ceb16f790650c17 (diff) | |
| download | openbsd-dd01b43e8ec4833e5d6d6bac95b032b7039797e5.tar.gz openbsd-dd01b43e8ec4833e5d6d6bac95b032b7039797e5.tar.bz2 openbsd-dd01b43e8ec4833e5d6d6bac95b032b7039797e5.zip | |
Provide prototype for X509_ALGOR_set_md()
Once we remove X509_ALGOR_set_md() we can link this test statically and use
X509_ALGOR_set_evp_md() but for now make sure the documented workaround for
this garbage API works.
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/asn1/x509_algor.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/asn1/x509_algor.c b/src/regress/lib/libcrypto/asn1/x509_algor.c index 8d94e5998e..47d7305663 100644 --- a/src/regress/lib/libcrypto/asn1/x509_algor.c +++ b/src/regress/lib/libcrypto/asn1/x509_algor.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_algor.c,v 1.5 2023/10/12 17:14:17 tb Exp $ */ | 1 | /* $OpenBSD: x509_algor.c,v 1.6 2023/10/26 08:01:38 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2023 Theo Buehler <tb@openbsd.org> |
| 4 | * | 4 | * |
| @@ -23,6 +23,8 @@ | |||
| 23 | #include <openssl/objects.h> | 23 | #include <openssl/objects.h> |
| 24 | #include <openssl/x509.h> | 24 | #include <openssl/x509.h> |
| 25 | 25 | ||
| 26 | void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md); | ||
| 27 | |||
| 26 | static int | 28 | static int |
| 27 | x509_algor_new_test(void) | 29 | x509_algor_new_test(void) |
| 28 | { | 30 | { |
