mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[winpr,tools] warn if unimplemented function called
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user