Unverified Commit eeaf445c authored by Steven Fackler's avatar Steven Fackler Committed by GitHub
Browse files

Merge pull request #1545 from dcermak/master

Only check OPENSSL_BUILT_ON if it is not ""
parents e0998470 d96e294b
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -127,6 +127,9 @@ fn test_versions() {
    assert!(number() > 0);
    assert!(version().starts_with(expected_name()));
    assert!(c_flags().starts_with("compiler:"));
    // some distributions patch out dates out of openssl so that the builds are reproducible
    if !built_on().is_empty() {
        assert!(built_on().starts_with("built on:"));
    }
    assert!(dir().starts_with("OPENSSLDIR:"));
}