Skip to content

Commit aed1697

Browse files
Handle returned value when OPENSSL is disable in checkValidCertificate (#8491)
1 parent c4eefd0 commit aed1697

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

libs/openFrameworks/utils/ofURLFileLoader.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ bool ofURLFileLoaderImpl::checkValidCertifcate(const std::string & cert_file) {
154154
ofLogError("ofURLFileLoader") << "Unknown error occurred in checkValidCertifcate.";
155155
return false;
156156
}
157+
#else
158+
return false;
157159
#endif
158160
}
159161

0 commit comments

Comments
 (0)