Fix a warning-turned-error about not returning from an unreachable point.

This commit is contained in:
Alex Miller 2018-07-02 14:30:37 -07:00
parent b635d40a8f
commit 29f560bafe
1 changed files with 2 additions and 0 deletions

View File

@ -222,6 +222,8 @@ bool match_criteria(X509* cert, X509_NAME* subject, NID nid, const std::string&
return match_extension_criteria(cert, nid, criteria, mt);
}
}
// Should never be reachable.
return false;
}
std::tuple<bool,std::string> FDBLibTLSSession::check_verify(Reference<FDBLibTLSVerify> verify, struct stack_st_X509 *certs) {