xref: /freebsd/crypto/openssl/test/evp_pkey_ctx_new_from_name.c (revision a91a246563dffa876a52f53a98de4af9fa364c52)
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