File: testcrypt.cpp

package info (click to toggle)
python-auditwheel 6.6.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 980 kB
  • sloc: python: 6,165; ansic: 304; cpp: 66; sh: 28; makefile: 25; 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);
}