xref: /freebsd/crypto/openssl/test/evp_pkey_ctx_new_from_name.c (revision e0c4386e7e71d93b0edc0c8fa156263fc4a8b0b6)
1 #include <stdio.h>
2 #include <openssl/ec.h>
3 #include <openssl/evp.h>
4 #include <openssl/err.h>
5 
main(int argc,char * argv[])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