Debian Codegraph @

tests/integration/nonpy_rpath/extensions/testcrypt.cpp

raw
1 #include "testcrypt.h"
2 #include <crypt.h>
3
4 std::string crypt_something() {
5 char const* result = crypt("will error out", "\0");
6 if (result == NULL) {
7 return std::string("*");
8 }
9 return std::string(result);
10 }