Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

To be is to program.


devel / comp.unix.programmer / Re: A check for whether crypt() supports Blowfish?

SubjectAuthor
* A check for whether crypt() supports Blowfish?Muttley
+* A check for whether crypt() supports Blowfish?Scott Lurndal
|+* A check for whether crypt() supports Blowfish?Muttley
||`* A check for whether crypt() supports Blowfish?Scott Lurndal
|| `* A check for whether crypt() supports Blowfish?Muttley
||  +* A check for whether crypt() supports Blowfish?Scott Lurndal
||  |+* A check for whether crypt() supports Blowfish?Kaz Kylheku
||  ||`* A check for whether crypt() supports Blowfish?Scott Lurndal
||  || +- A check for whether crypt() supports Blowfish?Kaz Kylheku
||  || +- A check for whether crypt() supports Blowfish?Muttley
||  || `- A check for whether crypt() supports Blowfish?Richard Kettlewell
||  |`- A check for whether crypt() supports Blowfish?Muttley
||  `* A check for whether crypt() supports Blowfish?Lew Pitcher
||   `* A check for whether crypt() supports Blowfish?Muttley
||    +* A check for whether crypt() supports Blowfish?Lew Pitcher
||    |`- A check for whether crypt() supports Blowfish?Muttley
||    `* A check for whether crypt() supports Blowfish?Paul
||     +- A check for whether crypt() supports Blowfish?Muttley
||     `- A check for whether crypt() supports Blowfish?Kaz Kylheku
|`* A check for whether crypt() supports Blowfish?Nicolas George
| `* A check for whether crypt() supports Blowfish?Scott Lurndal
|  +* A check for whether crypt() supports Blowfish?Scott Lurndal
|  |`- A check for whether crypt() supports Blowfish?Nicolas George
|  `* A check for whether crypt() supports Blowfish?Kaz Kylheku
|   `* A check for whether crypt() supports Blowfish?Muttley
|    `* A check for whether crypt() supports Blowfish?Nicolas George
|     +- A check for whether crypt() supports Blowfish?Muttley
|     `- A check for whether crypt() supports Blowfish?Keith Thompson
+* A check for whether crypt() supports Blowfish?Kaz Kylheku
|`* A check for whether crypt() supports Blowfish?Muttley
| `* A check for whether crypt() supports Blowfish?Kaz Kylheku
|  `* A check for whether crypt() supports Blowfish?Muttley
|   `* A check for whether crypt() supports Blowfish?Kaz Kylheku
|    `- A check for whether crypt() supports Blowfish?Kaz Kylheku
+* A check for whether crypt() supports Blowfish?Richard Kettlewell
|`* A check for whether crypt() supports Blowfish?Kaz Kylheku
| `- A check for whether crypt() supports Blowfish?Richard Kettlewell
+- A check for whether crypt() supports Blowfish?Keith Thompson
+- A check for whether crypt() supports Blowfish?Rainer Weikusat
`* A check for whether crypt() supports Blowfish?Lew Pitcher
 +* A check for whether crypt() supports Blowfish?Muttley
 |`* A check for whether crypt() supports Blowfish?Lew Pitcher
 | `* A check for whether crypt() supports Blowfish?Muttley
 |  `* A check for whether crypt() supports Blowfish?Muttley
 |   `* A check for whether crypt() supports Blowfish?Kaz Kylheku
 |    +* A check for whether crypt() supports Blowfish?Muttley
 |    |`* A check for whether crypt() supports Blowfish?Nicolas George
 |    | `- A check for whether crypt() supports Blowfish?Muttley
 |    `* A check for whether crypt() supports Blowfish?Ben Bacarisse
 |     `- A check for whether crypt() supports Blowfish?Keith Thompson
 `* A check for whether crypt() supports Blowfish?Kaz Kylheku
  `- A check for whether crypt() supports Blowfish?Lew Pitcher

Pages:123
Re: A check for whether crypt() supports Blowfish?

<87k04dmjbj.fsf@nosuchdomain.example.com>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=2972&group=comp.unix.programmer#2972

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Keith.S.Thompson+u@gmail.com (Keith Thompson)
Newsgroups: comp.unix.programmer
Subject: Re: A check for whether crypt() supports Blowfish?
Date: Wed, 02 Nov 2022 09:07:12 -0700
Organization: None to speak of
Lines: 28
Message-ID: <87k04dmjbj.fsf@nosuchdomain.example.com>
References: <tjgpe0$ghl$1@gioia.aioe.org> <tjn50t$6jep$1@dont-email.me>
<tjov5n$13ln$1@gioia.aioe.org> <tjovkc$hm6f$1@dont-email.me>
<tjovm8$1bte$1@gioia.aioe.org> <tjqpdo$1md4$1@gioia.aioe.org>
<20221101073909.178@kylheku.com> <87cza57cvy.fsf@bsb.me.uk>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="e3c7b7262657aefdf6a972a37deef5d8";
logging-data="1279884"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/Q1fjQmFFvuS9h3Gvb5PG"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:l3iNmpIfxSE1f32c7hnztN+u33k=
sha1:smR9CoeuNA1d4OP5I+iKMWYkMNo=
 by: Keith Thompson - Wed, 2 Nov 2022 16:07 UTC

Ben Bacarisse <ben.usenet@bsb.me.uk> writes:
> Kaz Kylheku <864-117-4973@kylheku.com> writes:
>> On 2022-11-01, Muttley@dastardlyhq.com <Muttley@dastardlyhq.com> wrote:
>>> Just found what happened. I'm developing my code simultaniously on Linux and
>>> MacOS and on MacOS with clang, if you don't #include <unistd.h> then any
>>> call to crypt() will return a bad (but non null) pointer no matter what the
>>> input parameters which then caused a crash later on.
>>
>> If you dohn't declare crypt, an implicit declaration of it will be
>> used, which is incorrect: int crypt(char *, char *).
>
> I think the implicit declaration would be int crypt() or, more
> accurately, just crypt() with an implicit int return type.

In C90, a call with two char* arguments would result in code that
assumes crypt() has two char* parameters (which it does) and returns an
int (which it doesn't, so the behavior is undefined). No diagnostic was
required.

C99 dropped the implicit int rule, so such a call is a constraint
violation with no specified behavior, but most compilers retain the C90
behavior. And most C compilers do not fully conform to any version
of the standard unless you ask them nicely.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for XCOM Labs
void Void(void) { Void(); } /* The recursive call of the void */

Re: A check for whether crypt() supports Blowfish?

<tju6o3$16ko$1@gioia.aioe.org>

  copy mid

http://rslight.i2p/devel/article-flat.php?id=2973&group=comp.unix.programmer#2973

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!aioe.org!QImplQW63EVMF2Hp+OxW0A.user.46.165.242.91.POSTED!not-for-mail
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.programmer
Subject: Re: A check for whether crypt() supports Blowfish?
Date: Wed, 2 Nov 2022 16:43:48 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <tju6o3$16ko$1@gioia.aioe.org>
References: <tjgpe0$ghl$1@gioia.aioe.org> <tjovkc$hm6f$1@dont-email.me> <tjovm8$1bte$1@gioia.aioe.org> <tjqpdo$1md4$1@gioia.aioe.org> <20221101073909.178@kylheku.com> <tjrjj3$j4a$1@gioia.aioe.org> <63615ab8$0$31554$426a74cc@news.free.fr>
Injection-Info: gioia.aioe.org; logging-data="39576"; posting-host="QImplQW63EVMF2Hp+OxW0A.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: Muttley@dastardlyhq.com - Wed, 2 Nov 2022 16:43 UTC

On 01 Nov 2022 17:43:20 GMT
Nicolas George <nicolas$george@salle-s.org> wrote:
>Muttley@dastardlyhq.com, dans le message <tjrjj3$j4a$1@gioia.aioe.org>,
> a �crit�:
>> I was. I didn't spot it as its a work in progress which still has warnings.
>
>I do not think fixing the warnings at the end is a winning strategy.

Thanks for the heads up. Its a large program and I was concentrating on
another module.


devel / comp.unix.programmer / Re: A check for whether crypt() supports Blowfish?

Pages:123
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor