소스 검색

removed size

0xdcarns 3 년 전
부모
커밋
03b05f7d7c
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      netclient/ncutils/netclientutils.go

+ 0 - 1
netclient/ncutils/netclientutils.go

@@ -555,7 +555,6 @@ func EncryptWithPublicKey(msg []byte, pub *rsa.PublicKey) ([]byte, error) {
 	if pub == nil {
 		return nil, errors.New("invalid public key when decrypting")
 	}
-	log.Printf("pub key size: %d \n", pub.Size())
 	hash := sha512.New()
 	ciphertext, err := rsa.EncryptOAEP(hash, crand.Reader, pub, msg, nil)
 	if err != nil {