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