[winpr,tools] warn if unimplemented function called
This commit is contained in:
parent
5f95193303
commit
13a3d6d988
@ -601,7 +601,8 @@ out_fail:
|
|||||||
free(fullpath);
|
free(fullpath);
|
||||||
return ret;
|
return ret;
|
||||||
#else
|
#else
|
||||||
return 1;
|
WLog_ERR(TAG, "%s only supported with OpenSSL", __func__);
|
||||||
|
return -1;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -682,7 +683,8 @@ out_fail:
|
|||||||
free(fullpath);
|
free(fullpath);
|
||||||
return ret;
|
return ret;
|
||||||
#else
|
#else
|
||||||
return 1;
|
WLog_ERR(TAG, "%s only supported with OpenSSL", __func__);
|
||||||
|
return -1;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1122,8 +1124,11 @@ int makecert_context_process(MAKECERT_CONTEXT* context, int argc, char** argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
return 0;
|
return 0;
|
||||||
|
#else
|
||||||
|
WLog_ERR(TAG, "%s only supported with OpenSSL", __func__);
|
||||||
|
return -1;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
MAKECERT_CONTEXT* makecert_context_new(void)
|
MAKECERT_CONTEXT* makecert_context_new(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user