xref: /freebsd/crypto/openssl/test/evp_pkey_ctx_new_from_name.c (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1 #include <stdio.h>
2 #include <openssl/ec.h>
3 #include <openssl/evp.h>
4 #include <openssl/err.h>
5 
6 int main(int argc, char *argv[])
7 {
8     EVP_PKEY_CTX *pctx = NULL;
9 
10     pctx = EVP_PKEY_CTX_new_from_name(NULL, "NO_SUCH_ALGORITHM", NULL);
11     EVP_PKEY_CTX_free(pctx);
12 
13     return 0;
14 }
15