Initial QSfera import
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
package samlsp
|
||||
|
||||
import (
|
||||
"io"
|
||||
|
||||
"github.com/crewjam/saml"
|
||||
)
|
||||
|
||||
func randomBytes(n int) []byte {
|
||||
rv := make([]byte, n)
|
||||
|
||||
if _, err := io.ReadFull(saml.RandReader, rv); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return rv
|
||||
}
|
||||
Reference in New Issue
Block a user