mirror of
https://github.com/python/cpython.git
synced 2025-09-15 05:06:12 +00:00
Patch #1516912: improve Modules support for OpenVMS.
This commit is contained in:
parent
4a5fbda66d
commit
2a30cd0ef0
9 changed files with 154 additions and 63 deletions
|
@ -5,6 +5,9 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifdef __VMS
|
||||
#include <openssl/des.h>
|
||||
#endif
|
||||
|
||||
/* Module crypt */
|
||||
|
||||
|
@ -12,7 +15,9 @@
|
|||
static PyObject *crypt_crypt(PyObject *self, PyObject *args)
|
||||
{
|
||||
char *word, *salt;
|
||||
#ifndef __VMS
|
||||
extern char * crypt(const char *, const char *);
|
||||
#endif
|
||||
|
||||
if (!PyArg_ParseTuple(args, "ss:crypt", &word, &salt)) {
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue