[winpr,tools] warn if unimplemented function called

This commit is contained in:
akallabeth 2023-10-10 12:52:59 +02:00 committed by akallabeth
parent 5f95193303
commit 13a3d6d988

View File

@ -601,7 +601,8 @@ out_fail:
free(fullpath);
return ret;
#else
return 1;
WLog_ERR(TAG, "%s only supported with OpenSSL", __func__);
return -1;
#endif
}
@ -682,7 +683,8 @@ out_fail:
free(fullpath);
return ret;
#else
return 1;
WLog_ERR(TAG, "%s only supported with OpenSSL", __func__);
return -1;
#endif
}
@ -1122,8 +1124,11 @@ int makecert_context_process(MAKECERT_CONTEXT* context, int argc, char** argv)
}
}
#endif
return 0;
#else
WLog_ERR(TAG, "%s only supported with OpenSSL", __func__);
return -1;
#endif
}
MAKECERT_CONTEXT* makecert_context_new(void)