switch to go vendoring

This commit is contained in:
Michael Barz
2023-04-19 20:24:34 +02:00
parent 632fa05ef9
commit afc6ed1e41
8527 changed files with 3004916 additions and 2 deletions
+17
View File
@@ -0,0 +1,17 @@
// +build darwin windows
// Package crypt provides wrappers around functions available in crypt.h
//
// It wraps around the GNU specific extension (crypt) when the reentrant version
// (crypt_r) is unavailable. The non-reentrant version is guarded by a global lock
// so as to be safely callable from concurrent goroutines.
package crypt
import (
"errors"
)
// Crypt does currently not provide an implementation for windows and darwin
func Crypt(pass, salt string) (string, error) {
return "", errors.New("unsupported platform")
}