File: testcrypt.cpp

package info (click to toggle)
python-auditwheel 5.3.0%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 816 kB
  • sloc: python: 4,270; ansic: 205; cpp: 58; makefile: 20; f90: 12
file content (10 lines) | stat: -rw-r--r-- 230 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#include "testcrypt.h"
#include <crypt.h>

std::string crypt_something() {
    char const* result = crypt("will error out", "\0");
    if (result == NULL) {
        return std::string("*");
    }
    return std::string(result);
}