]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/multiprecision/example/safe_prime.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / multiprecision / example / safe_prime.cpp
index 71adf4f34a07e42abfd1234df43af27b932729dc..dbe40ef2e21a4bc65c0405037fc02558060ad7ed 100644 (file)
@@ -1,7 +1,7 @@
 ///////////////////////////////////////////////////////////////
 //  Copyright 2012 John Maddock. Distributed under the Boost
 //  Software License, Version 1.0. (See accompanying file
-//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_
+//  LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
 
 //[safe_prime
 
@@ -38,8 +38,8 @@ int main()
          }
       }
    }
-   std::cout << "Ooops, no safe primes were found" << std::endl;
-   return 1;
+   std::cout << "Ooops, no safe primes were found - probably a bad choice of seed values!" << std::endl;
+   return 0;
 }
 
 //]