diff options
| author | tb <> | 2023-10-26 08:01:38 +0000 |
|---|---|---|
| committer | tb <> | 2023-10-26 08:01:38 +0000 |
| commit | e02d4303cb34dfe749d735d6345a63262683ef58 (patch) | |
| tree | 43d55ee49aab28fcae6269ec819ad0765ba23bdb /src | |
| parent | 954ee1666bd6ad96be04c4e30703d93816415927 (diff) | |
| download | openbsd-e02d4303cb34dfe749d735d6345a63262683ef58.tar.gz openbsd-e02d4303cb34dfe749d735d6345a63262683ef58.tar.bz2 openbsd-e02d4303cb34dfe749d735d6345a63262683ef58.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 | { |
